package cn.cdeden.knowledge.api.domain;


import cn.cdeden.common.core.utils.page.TableDataInfo;
import cn.cdeden.knowledge.api.domain.dto.RemoteResourceQueryParam;
import cn.cdeden.knowledge.api.domain.vo.RemoteResourceTypeVo;
import cn.cdeden.knowledge.api.domain.vo.RemoteResourceVo;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Set;

public interface RemoteResourceService {

    TableDataInfo<RemoteResourceVo>  query(RemoteResourceQueryParam query, Pageable pageable);

    boolean insert(RemoteResourceVo resources);
    boolean updateById(RemoteResourceVo resources);

    boolean deleteByIds(Set<Long> ids);
}
